package cn.itsource.pethome.dictionary.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.dictionary.domain.Systemdictionarydetail;
import cn.itsource.pethome.dictionary.query.DictionarydetailQuery;

import java.util.List;

public interface DictionarydetailMapper extends BaseMapper<Systemdictionarydetail>{
    /**
     * 查询总条数
     * @return
     */
    Long findCountByQuery( DictionarydetailQuery dictionarydetailQuery);

    /**
     * 查询分页列表
     * 查询出所有部门信息包括外连的信息
     * @return
     */
    List<Systemdictionarydetail> findPageByQuery(DictionarydetailQuery ictionarydetailQuery);


    void deletBytype(Long id);
}
